Information switching and sharing method, device, electronic apparatus, and storage medium

ABSTRACT

An information switching and sharing method, a device, an electronic apparatus, and a storage medium are provided. The method is applied to a client of a sharee, and the method includes: receiving a first page shared by a client of a sharer, in a free browsing mode, wherein the shared first page comprises a link to a second page, and the free browsing mode is a mode in which a page is freely browsed by the client of the sharee; and jumping to the second page in response to a detection of a trigger operation on the link in the shared first page.

The present disclosure is a continuation of U.S. patent application Ser.No. 17/931,095, filed on Sep. 9, 2022, which is a continuation ofInternational Application No. PCT/CN2021/086511, filed on Apr. 12, 2021.The International Application claims priority to Chinese PatentApplication No. 202010365457.8, titled “INFORMATION SWITCHING ANDSHARING METHOD, DEVICE, ELECTRONIC APPARATUS, AND STORAGE MEDIUM”, filedon Apr. 30, 2020 with the China National Intellectual PropertyAdministration. All of the afore-mentioned patent applications arehereby incorporated by reference in their entireties.

TECHNICAL FIELD

Embodiments of the present disclosure relate to the computer field, andin particular, to a method and an apparatus for switching and sharinginformation, an electronic device, and a storage medium.

BACKGROUND

With the continuous development of the Internet and communicationtechnology, exchanging information through communication applicationshas become one of the important ways for users to exchange information.Currently, when the information pages are switched each other and sharedthrough the communication applications, the sharer is required totrigger the operation of “exiting from the currently shared page-sharingthe next page” on the client. When the two pages are switched and sharedfor multiple times or a large number of pages are switched and shared,the sharer is required to repeatedly trigger the operation of “exitingfrom the shared page-sharing the page” on the client, which consumes alot of time and cost, thereby affecting information sharing efficiencyand reducing the experience for information sharing between the sharerand the other users.

SUMMARY OF THE INVENTION

A method and apparatus for switching and sharing information, anelectronic device, and a storage medium are provided according to theembodiments of the present disclosure, to realize easy switching betweenthe shared information pages, and thus improve the efficiency ofinformation sharing and the shared experience between users.

In a first aspect, a method for switching and sharing information isprovided according to an embodiment of the present disclosure. Themethod is applied to a client of a sharer. The method includes:

-   -   jumping to a second page, in response to a detection of a        trigger operation on a link to the second page in a currently        shared first page, where the currently shared first page is a        page currently displayed, which is sent to a client of a sharee        to be displayed on the client of the sharee; and    -   sharing the second page with the client of the sharee, in a case        that the client of the sharee is in a follow mode, to display        the second page on the client of the sharee in the follow mode        by following a display of the client of the sharer, where the        follow mode is a mode in which the client of the sharee follows        the client of the sharer to display a page which is currently        displayed on the client of the sharer.

In a second aspect, a method for switching and sharing information isfurther provided according to an embodiment of the present disclosure.The method is applied to a client of a sharee. The method includes:

-   -   receiving a second page shared by a client of a sharer, in a        follow mode, where the follow mode is a mode in which a client        of a sharee follows the client of the sharer to display a page        which is currently displayed on the client of the sharer; and    -   displaying the second page in replacement of a currently        displayed first page by following a display of the client of the        sharer, where the second page is shared in a case that the        client of the sharer detects a trigger operation on a link to        the second page in the currently shared first page, and where        the currently shared first page is a page currently displayed on        the client of the sharer, which is sent to the client of the        sharee to be displayed on the client of the sharee.

In a third aspect, an apparatus for switching and sharing information isprovided according to an embodiment of the present disclosure. Theapparatus is applied to a client of a sharer. The apparatus includes: ajumping module and a sharing module.

The jumping module is configured to jump to a second page in response toa detection of a trigger operation on a link to the second page in acurrently shared first page, where the currently shared first page is apage currently displayed, which is sent to a client of a sharee to bedisplayed on the client of the share.

The sharing module is configured to share the second page with theclient of the sharee, in a case that the client of the sharee is in afollow mode, to display the second page on the client of the sharee inthe follow mode by following a display of the client of the sharer,where the follow mode is a mode in which the client of the shareefollows the client of the sharer to display a page which is currentlydisplayed on the client of the sharer.

In a fourth aspect, an apparatus for switching and sharing informationis provided according to an embodiment of the present disclosure. Theapparatus is applied to a client of a sharee. The apparatus includes: areceiving module and a following module.

The receiving module is configured to receive a second page shared by aclient of a sharer, in a follow mode, where the follow mode is the modein which the client of the sharee follows the client of the sharer todisplay a page which is currently displayed on the client of the sharer.

The following module is configured to display the second page inreplacement of a currently displayed first page by following a displayof the client of the sharer, where the second page is shared in a casethat the client of the sharer detects a trigger operation on a link tothe second page in the currently displayed first page, and where thecurrently displayed first page is a page currently displayed on theclient of the sharer, which is sent to a client of a sharee to bedisplayed on the client of the sharee.

In a fifth aspect, an electronic device is further provided in anembodiment of the present disclosure. The electronic device includes:one or more processors; a storage apparatus for storing one or moreprograms. The one or more programs, when executed by the one or moreprocessors, cause the one or more processors to implement the method forswitching and sharing the information according to any one of theembodiments of the present disclosure.

In a sixth aspect, a storage medium containing computer-executableinstructions is further provided in an embodiment of the presentdisclosure. The computer-executable instructions, when executed by acomputer processor, implement the method for switching and sharing theinformation according to any one of the embodiments of the presentdisclosure.

According to the technical solution of the embodiments of the presentdisclosure, the client of the sharer currently displays the first page;and sends the first page to the client of the sharee to display thefirst page on the client of the sharee simultaneously. The client of thesharer is jumped to the second page, in response to the click on thelink to the second page in the first page on the client of the sharer;and sends the second page to the client of the sharee, in the case thatthe client of the sharee is in the follow mode, to display the secondpage on the client of the sharee in the follow mode by following thedisplay of the client of the sharer.

In addition, with the common screen sharing technology, the first pageof the client of the sharee can be jumped to the second page followingthe client of the sharer. However, network delay and video decompressiondistortion and other problems occur in the video streaming process, dueto the high requirement on the network and video compression. As aresult, the shared image becomes unsmooth and unclear, which seriouslyaffects the information sharing effect and user experience for attendinga conference. According to the method for switching and sharing theinformation disclosed in the embodiments of the present disclosure, thehigh-fidelity and smooth information sharing is realized by sharing thepage content of the information page, or together with the useroperation. In addition, the second page is jumped to and shared throughthe trigger on the link to the second page in the currently shared firstpage on the client of the sharer, to facilitate the easy switchingbetween the shared information pages, and improve information sharingefficiency and the shared experience between users.

BRIEF DESCRIPTION OF THE DRAWINGS

In conjunction with the drawings and with reference to the followingembodiments, the above and other features, advantages and aspects of theembodiments of the present disclosure are more apparent. The same orsimilar reference numerals throughout the drawings represent the same orsimilar elements. It should be understood that the drawings areschematic and the components and elements are unnecessarily drawn toscale.

FIG. 1 is a schematic flowchart of a method for switching and sharinginformation according to a first embodiment of the present disclosure.

FIG. 2 is a schematic flowchart of a method for switching and sharinginformation according to a second embodiment of the present disclosure.

FIG. 3 is a schematic flowchart of a method for switching and sharinginformation according to a third embodiment of the present disclosure.

FIG. 4 is a schematic structure diagram of an apparatus for switchingand sharing information according to a fourth embodiment of the presentdisclosure.

FIG. 5 is a schematic structure diagram of a apparatus for switching andsharing information according to a fifth embodiment of the presentdisclosure.

FIG. 6 is a schematic structure diagram of an electronic deviceaccording to a sixth embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE EMBODIMENTS

The embodiments of the present disclosure are described in detail belowwith reference to the drawings. Although some embodiments of the presentdisclosure are shown in the drawings, it should be understood that thepresent disclosure may be implemented in various forms and should not beconstrued as being limited to the embodiments described herein. Theembodiments are provided for thoroughly and completely understanding thepresent disclosure. It should be understood that the drawings and theembodiments of the present disclosure are only illustrative of thedisclosure, and are not intended to limit the protection scope of thepresent disclosure.

It should be understood that the steps in the method embodiment of thepresent disclosure may be performed in different orders and/or inparallel. In addition, the method embodiment may include an additionalstep and/or an omitted step that is not shown herein. The scope of thepresent disclosure is not limited in this aspect.

The term “include” and its variations in the present disclosure meansopen-ended inclusion, that is, “including but not limited to”. The term“based on” means “based at least in part on”. The term “one embodiment”means “at least one embodiment”. The term “another embodiment” means “atleast one additional embodiment”. The term “some embodiments” means “atleast some embodiments”. The definitions of other terms are provided inthe following descriptions.

It should be noted that the concepts such as “first” and “second”mentioned in the present disclosure are used to distinguish differentapparatuses, modules or units, and are not used to limit an sequentialorder or interdependence of the functions performed by the apparatuses,modules or units.

It should be noted that the modifications such as “one” and “multiple”mentioned in the present disclosure are illustrative and notrestrictive. Those skilled in the art should understand that themodifications should be understood as “one or more” unless otherwiseexpressly indicated in the context.

First Embodiment

FIG. 1 is a schematic flowchart of a method for switching and sharinginformation according to a first embodiment of the present disclosure.The present embodiment of the present disclosure is particularlysuitable for switching and sharing two information pages therebetweenfor multiple times on a client, or switching and sharing a large numberof information pages on the client. The method may be implemented bymeans of an apparatus for switching and sharing information, which maybe implemented in the form of software and/or hardware. The apparatusmay be configured in an electronic device, such as a smart phone, atablet computer, a notebook computer or a desktop computer.

As shown in FIG. 1 , the method for switching and sharing informationaccording to the present embodiment is applied to a client of a sharer.The method includes the following S110 to S120.

In S110, a second page is jumped to, in response to a detection of atrigger operation on a link to the second page in a currently sharedfirst page.

Common information sharing technology is a kind of screen sharingtechnology, in which a video stream on the screen interface of theclient of the sharer is captured, and is transmitted to a client of asharee through the network bandwidth. With the information sharingmethod involved in the embodiment of the present disclosure, the clientof the sharer sends to the client of the sharee a page content of thecurrently displayed information page (for example, a Jackins documentpage, a word document page, an Excel document page, or a PowerPoint(PPT) document page) or together with operations such as scrolling upand down the information page or editing a content of the informationpage. Specifically, the information sharing method involved in theembodiment of the present disclosure is a kind of page sharingtechnology. In the page sharing technology, the client of the sharershares an access address for the shared page or the access address for afile displayed in the shared page with the client of the sharee in asharing range, and shared the operation information on the page or filecorresponding to the access address with the client of the sharee in thesharing range. In this way, the client of the sharee may access anddisplay the page or file corresponding to the received access addressaccording to the received access address, so that the operation on theclient of the sharee is consistent with the operation on the client ofthe sharer based on the received operation information, In this way, thesynchronous display of pages on the client of the sharee and the clientof the sharer are realized.

However, in the information sharing method related to an embodiment,when the information pages are switched and shared, the client of thesharer is required to trigger the operation of “exiting from thecurrently shared page-sharing the next page”. When two pages areswitched and shared for multiple times or a large number of pages areswitched and shared, the client of the sharer is required to repeatedlytrigger the operation of “exiting from the shared page-sharing thepage”, which consumes a lot of time and cost, thereby affectinginformation sharing efficiency and reducing the experience forinformation sharing between the sharer and the other users. Therefore,the defect in the information sharing method related to the presentembodiment can be overcome with the method for switching and sharinginformation according to embodiments of the present disclosure.

In an embodiment of the present disclosure, when a client sendsinformation to the other client to share the information with the otherclient, the client may be considered as the client of the sharer. Whenthis client receives the information shared from the other client, thisclient is also considered as the client of the sharee. That is, the sameclient may be used as the client of the sharer or the client of thesharee. The client of the sharer sharing a page to the client of thesharee may be considered as a process of sending the page content of thecurrently displayed page or the page contect together with the useroperation (such as scrolling the page up and down, and editing the pagecontent) from the client of the sharer to the client of the sharee, suchthat the client of the sharee may display the page contentsimultaneously or performs the received user operation in parallel.Therefore, the currently shared first page in the present embodiment isthe page currently displayed on the client of the sharer, which is sentto the client of the sharee to be displayed on the client of the sharee.

A hierarchical page may be formed by embedding a link to another page ina page. The hierarchical page may be used as an upper-level page foranther page, the link of which is embedded in the hierarchical page; andanother page is used as a lower-level page for the hierarchical page.For example, a link to a page 2 is embedded in a page 1. The page 1 isjumped to the page 2 in response to a click on the link to the page 2embedded in the page 1. That is to say, the page 1 is an upper-levelpage of the page 2, and the page 2 is a lower-level page of the page 1.The first page in the present embodiment may be any level of page thatis linkable to the next level of page among the hierarchical pagesshared by the client of the sharer with the client of the sharee. Asecond page may be any one of the lower-level pages which may be linkedto the first page.

For example, the hierarchical page shared by the client of the sharerwith the client of the sharee has a hierarchical structure as follow.Page 1 is a home page with a link to page 2 and a link to page 3embedded therein, a link to page 4 is embedded into page 2, a link topage 1 is embedded into page 4. In this case, the first page that iscurrently shared by the client of the sharer may be page 1, page 2, orpage 4. Moreover, when the first page is page 1, the second page may bedetermined to be page 2 or page 3, based on the trigger operationreceived by the client of the sharer. When the first page is page 2, thesecond page is page 4. When the first page is page 4, the second page ispage 1.

When the client of the sharer shares the first page with the client ofthe sharee, the second page is jumped to directly in response to adetection of a trigger operation (such as a single-click or double-clickoperation) on the link to the second page in the first page. Therefore,in the case that two pages are switched and shared for multiple times bythe client of the sharer or a large number of pages are switched andshared, the tedious operation of repeatedly exiting from the currentlyshared first page and re-sharing the second page is avoided, therebyfacilitating the page switching.

In S120, in the case that the client of the sharee is in a follow mode,the second page is shared with the client of the sharee, to display thesecond page on the client of the sharee in the follow mode by followinga display of the client of the sharer.

In the embodiment of the present disclosure, the follow mode is a modein which the client of the sharee follows the client of the sharer todisplay a page which is currently displayed on the client of the sharer.In the follow mode, the client of the sharee receives operationinformation of the currently demonstrating client on the page, andrenders the page based on the operation information. In this way, adisplay mode following the currently demonstrating client is realized.The display page on the client of the sharee in the follow mode is thesame as that on the currently demonstrating client. The currentlydemonstrating client is a client which sends information to otherclients in the sharing range to share the information with the otherclients.

The client of the sharee may be in the follow mode under the followingcircumstances. First, in the case that the first page shared by theclient of the sharer with the client of the sharee is a home page of thehierarchical page, the client of the sharee may display the home pagethrough a click on a shared link sent by the client of the sharer. Inthis case, the client of the sharee is set to the follow mode bydefault, or is also set to the follow mode according to the triggeroperation from the user. Second, in the case that the first page sharedby the client of the sharer with the client of the sharee is anintermediate-level page, when the client of the sharee displays anupper-level page of the first page in the follow mode, the client of thesharee is also in the follow mode by default when displaying the firstpage. Third, in the case that the hierarchical page shared by the clientof the sharer is freely browsed on the client of the sharee, the clientof the sharee may be switched to be in the follow mode according to thetrigger operation of the user. In this case, when the client of thesharer currently shares the first page, the client of the sharee maydisplay the first page in a follow-up manner.

When the currently shared first page on the client of the sharer isjumped to the second page, the second page is shared to the client ofthe sharee in the follow mode while being displayed on the client of thesharer. That is, when the client of the sharee is not in the followmode, the second page is not sent to the client of the sharee. Bysharing the second page with the client of the sharee in the followmode, the client of the sharee in the follow mode may display the secondpage instead of the first page. Therefore, in the case that two pagesare switched and shared for multiple times by the client of the shareror a large number of pages are switched and shared by the client of thesharer, the tedious operation of the client of the sharee repeatedlyexiting from the currently shared first page and re-sharing the secondpage is avoided, thereby facilitating the page switching.

In an embodiment, after the second page is shared with the client of thesharee in the follow mode, the method further includes: rolling back tothe first page in response to a detection of the trigger operation on arollback control; sharing the first page with the client of the shareein the follow mode, to display the first page on the client of thesharee in the follow mode by following a display of the client of thesharer.

In an embodiment, the rollback control may be provided on a page sharinginterface of the client of the sharer. After the first page on theclient of the sharer is jumped to the second page, an upper-level pagemay be rolled back to by triggering the rollback control. The triggeroperation on the rollback control may be, for example, a single click ordouble click on the rollback control, or operations such as a left clickor a right click with an input device such as a mouse, which is notspecifically limited herein. When the client of the sharer rolls back tothe first page, the client of the sharer may display the first page, andshare the first page with the client of the sharee in the follow mode atthe same time.

In the case that the client of the sharer detects the trigger operationon the rollback control when sharing the second page, the upper-levelpage is directly rolled back to, thereby avoiding the tedious operationof the client of the sharer exiting from the currently shared secondpage and re-sharing the first page. Furthermore, when the client of thesharer rolls back to the first page, the first page is shared with theclient of the sharee in the follow mode, thereby avoiding the tediousoperation of the client of the sharee receiving the first page shared bythe client of the sharer once again, and improving the informationsharing efficiency and the user sharing experience.

In an embodiment, the method for switching and sharing informationaccording to the embodiment of the present disclosure is applied to areal-time interactive application. The real-time interactive applicationincludes at least one of an instant messaging application, a multimediaconference application, a live video application, and a group chatinteractive application.

In an embodiment, the client of the sharer and the client of the shareeare both the clients with the real-time interactive application. Thus,the page information may be shared between the clients during thereal-time interaction, and the shared information pages may be easilyswitched. The interactive form of real-time interaction is enriched, andthe information sharing efficiency and the user sharing experience areimproved.

Further, the first page and the second page are displayed through abrowser embedded in the client of the sharer. In the embodiment, apreset browser may be embedded in the client of the sharer, throughwhich page is displayed. The process of jumping to the second page fromthe first page and rolling back to the first page from the second pageis carried out through the same browser, without displaying differentpages by changing the browser. Thus, the page switching process issmooth to a certain extent and the user sharing experience is improved.

According to the technical solution of the embodiment of the presentdisclosure, the client of the sharer currently displays the first page;and sends the first page to the client of the sharee to display thefirst page on the client of the sharee simultaneously. The client of thesharer is jumped to the second page, in response to the click on thelink to the second page in the first page on the client of the sharer;and sends the second page to the client of the share, in the case thatthe client of the sharee is in the follow mode, to display the secondpage on the client of the sharee in the follow mode by following thedisplay of the client of the sharer.

In addition, with the common screen sharing technology, the first pageof the client of the sharee can be jumped to the second page followingthe client of the sharer. However, network delay and video decompressiondistortion and other problems occur in the video streaming process, dueto the high requirement on the network and video compression. As aresult, the shared image becomes unsmooth and unclear, which seriouslyaffects the effect of information sharing and user experience forattending a conference. According to the method for switching andsharing the information disclosed in the embodiments of the presentdisclosure, the high-fidelity and smooth information sharing is realizedby sharing the page content of the information page, or together withthe user operation. In addition, the second page is jumped to and sharedthrough the trigger on the link to the second page in the currentlyshared first page on the client of the sharer, to facilitate the easyswitching between the shared information pages, and improve informationsharing efficiency and the shared experience between users.

Second Embodiment

FIG. 2 is a schematic flowchart of a method for switching and sharinginformation according to a second embodiment of the present disclosure.The embodiment of the present disclosure is especially suitable forswitching and sharing two information pages therebetween for multipletimes on a client, or switching and sharing a large number ofinformation pages. The method may be performed by means of an apparatusfor switching and sharing information, which may be implemented in theform of software and/or hardware. The apparatus may be configured in anelectronic device, such as a smart phone, a tablet computer, a notebookcomputer, or a desktop computer.

The same technical concept is shared between the method for switchingand sharing the information applied to the client of the shareeaccording to the present embodiment of the present disclosure and themethod for switching and sharing the information applied to the clientof the sharer according to the embodiment described above. The technicaldetail that is not described in the present embodiment may be referredto the embodiment described above and the same beneficial effects can beachieved.

As shown in FIG. 2 , a method for switching and sharing informationaccording to the present embodiment is applied to a client of a sharee.The method includes the following S210 to S220.

In S210, a second page shared by a client of a sharer is received, in afollow mode.

The follow mode is a mode in which the client of the sharee follows theclient of the sharer to display a page which is currently displayed onthe client of the sharer.

In S220, the second page is displayed in replacement of a currentlydisplayed first page by following a display of the client of the sharer.

The second page is shared, in the case that the client of the sharerdetects a trigger operation on a link to the second page in thecurrently shared first page. The currently shared first page is a pagecurrently displayed on the client of the sharer, which is sent to theclient of the sharee to be displayed on the client of the sharee.

In an embodiment of the present disclosure, before receiving the secondpage shared by the client of the sharer, the client of the sharee is ina follow mode and display the first page shared by the client of thesharer. The client of the sharee may be in the follow mode under thefollowing circumstances. First, in the case that the first page sharedby the client of the sharer with the client of the sharee is a home pageof the hierarchical page, the client of the sharee may display the homepage through a click on a shared link sent by the client of the sharer.In this case, the client of the sharee is set to the follow mode bydefault, or is also set to the follow mode according to the triggeroperation from the user. Second, in the case that the first page sharedby the client of the sharer with the client of the sharee is anintermediate-level page, when the client of the sharee displays anupper-level page of the first page in the follow mode, the client of thesharee is also in the follow mode by default when displaying the firstpage. Third, in the case that the hierarchical page shared by the clientof the sharer is freely browsed on the client of the sharee, the clientof the sharee may be switched to be in the follow mode according to thetrigger operation of the user. In this case, when the client of thesharer currently shares the first page, the client of the sharee maydisplay the first page in a follow-up manner.

In the case that the client of the sharee in the follow mode displaysthe first page by following the display of the client of the sharer,when the second page shared by the client of the sharer is received, theclient of the sharee switches displays the second page in replacement ofthe first page by following a display of the client of the sharee. Thesecond page is shared by the client of the sharer in response to adetection of a trigger operation on a link to the second page in thecurrently shared first page. The client of the sharee jumps from thecurrently shared first page to the second page, when the second page isshared to the client of the sharee. Thus, a follow display is performedon the second page that is jumped to on the client of the sharer, at theclient of the sharee, thereby facilitating the easy switch between theshared information pages, and improving the information sharingefficiency and the user sharing experience.

In an embodiment, after displaying the second page in replacement of acurrently displayed first page by following a display of the client ofthe sharee, the method further includes: in the follow mode, receiving afirst page shared by the client of the sharer; displaying the first pagein replacement of the second page by following the display of the clientof the sharer. The first page is shared by the client of the sharer inresponse to a detection of a trigger operation on a rollback control,when the client of the sharer shares the second page.

In an embodiment, after displaying the second page in replacement of acurrently displayed first page by following a display of the client ofthe sharee, the client of the sharee may further receive the first pageshared by the client of the sharer, to replace the second page with thefirst page by following the display of the client of the sharer. Thefirst page is shared by the client of the sharer in response to adetection of a trigger operation on a rollback control, when the clientof the sharer shares the second page. The currently shared second pagemay be rolled back to the first page, when the first page is shared withthe client of the sharee. It can be considered that the client of thesharee in the follow mode only display the received page withoutattention to a jumping path for the client of the sharer. In this way,the page shared by the client of the sharer is displayed on the clientof the sharee by following the display of the client of the sharer.

According to the technical solution of the embodiment of the presentdisclosure, in the case that the client of the sharee in the follow modedisplays the first page, when the second page shared by the client ofthe sharer is received, the second page may be displayed in replacementof the currently displayed first page by following a display of theclient of the sharee. When performing the follow display on the secondpage, the client of the sharee receives the first page shared by theclient of the sharer. In this time, the follow display may be performedonce more to display the first page. Therefore, in the case that twopages are switched and shared for multiple times by the client of thesharer or a large number of pages are switched and shared by the clientof the sharer, the tedious operation of the client of the shareerepeatedly receiving the page shared by the client of the sharer isavoided, thereby facilitating the page switching.

Third Embodiment

FIG. 3 is a schematic flowchart of a method for switching and sharinginformation according to a third embodiment of the present disclosure.The present embodiment may be combined with each optional solution inthe embodiment described above. In the method for switching and sharinginformation according to the present embodiment, the switching betweeninformation pages on the client of the sharee in a free browsing mode isoptimized, to realize the page jumping and rollback on the client of thesharee in the free browsing mode.

As shown in FIG. 3 , a method for switching and sharing informationaccording to the present embodiment includes the following S310 to S340.

In S310, in the follow mode, before the second page shared by a clientof a sharer is received, a free browsing mode is triggered in responseto a detection of a trigger operation on a free browsing control.

In the free browsing mode, the page can be browsed freely. The freebrowsing mode is a type of display mode for accessing a shared page,which is opposite to the follow mode. The free browsing mode refers to adisplay mode in which the client of the sharee does not display the pagedisplayed on a currently demonstrating client. In the free browsingmode, the client of the sharee may render the displayed page accordingto the operation on the client of the sharee, without be affected by thepage displayed on a currently demonstrating client. In an embodiment ofthe present disclosure, the free browsing control is provided on a pagesharing interface of the client of the sharee. Before receiving thesecond page shared by the client of the sharer, the client of the shareeis in the follow mode and displays the first page shared by the clientof the sharer. In this case, the free browsing mode may be triggeredwhen the client of the sharee detects a trigger operation (operationssuch as a single-click or double-click) on the free browsing control. Inthe free browsing mode, the first page is allowed to be freely browsedfor the user.

In S320, in the free browsing mode, the second page is jumped to inresponse to a detection of a trigger operation on a link to the secondpage in the first page that is currently freely browsed.

In the present embodiment, when the client of the sharee is in the freebrowsing mode, each of the hierarchical pages may be freely browsedaccording to the trigger operation of the user without following thedisplay of the client of the sharer. For example, in a process of freelybrowsing the first page, the first page may be jumped to the second pageto freely browse the second page, when the trigger operation (such as aclick operation) on the link to the second page is detected. Inaddition, the client of the sharee may regard the second page that isjumped to, as a new first page. When a trigger operation on a link to anew second page in the new first page is detected, the new first pagemay be jumped to a new second page. In this way, each of thehierarchical pages shared by the client of the sharer may be freelybrowsed, which is beneficial for the users to browse the pages accordingto their own needs and improves the experience for user sharinginformation.

For example, it is assumed that the client of the sharee is in thefollow mode, and the client of the sharee is displaying the first page,namely Page 1, shared by the client of the sharer. In this case, theclient of the sharee triggers the free browsing mode when the triggeroperation on the free browsing control is detection, to allow the shareeto freely browse page 1. It is assumed that the link to page 2 isembedded in page 1, and the link to page 3 is embedded in page 2. Thesecond page (page 2) is jumped to in response to a click on the link topage 2 in the first page (page 1). In this case, page 2 may also be usedas a new first page, and a new second page (page 3) is jumped to inresponse to a click on the link to page 3 in the new first page (page2).

In S330, in the free browsing mode, a currently freely browsed page isrolled back to a page that is previously freely browsed, when a triggeroperation on a rollback control is detected.

In an embodiment, the rollback control may be provided on a page sharinginterface of the client of the sharee. When the client of the sharee inthe free browsing mode detects the trigger operation (such as a clickoperation) on the rollback control, a currently freely browsed page isrolled back to a page that is previously freely browsed. That is to say,if the currently freely browsed page is the first page that is freelybrowsed, a rollback will not be performed on the client of the sharee.In this way, the jumping path on the client of the sharee is notsubstituted with the jumping path on the client of the sharer. Thus, arollback abnormality on the client of the sharee can be avoided, whenthe jumping path on the client of the sharee in the free browsing modeis different from the jumping path on the client of the sharer.

For example, it is assumed that the client of the sharee is in thefollow mode, and the client of the sharee is displaying the first page,namely page 1, shared by the client of the sharer. In this case, theclient of the sharee triggers the free browsing mode when the triggeroperation on the free browsing control is detected, to allow the shareeto freely browse page 1. In this case, the rollback will not beperformed when the trigger operation on the rollback control isdetected. On the basis of the above assumption, if the link to page 2 isembedded in page 1, page 2 is jumped to in response to a click on thelink to page 2 in page 1. In this case, page 1 is rolled back to whenthe trigger operation on the rollback control is detected. On the basisof the above assumption, if the link to page 3 is embedded in page 2,page 3 is jumped to in response to a click on the link to page 3 in page2. In this case, page 2 is rolled back to when the trigger operation onthe rollback control is detected, and page 1 is rolled back to when thetrigger operation on the rollback control is detected once again.

In S340, the follow mode is triggered, when a trigger operation on afollow control is detected, and a page currently shared by the client ofthe sharer is received in the follow mode.

In the present embodiment, a follow control may be provided on the pagesharing interface of the client of the sharee. The client of the shareemay be switched from the free browsing mode to the follow mode when atrigger operation (such as a click operation) on the follow control isdetected, to display the page currently shared by the client of thesharer by following the display of the client of the sharer. The pagecurrently shared by the client of the sharer may be the page that ispreviously browsed on the client of the sharee, or may be another pagein the hierarchical pages that is never browsed yet, which is notlimited thereto in the present embodiment.

It should be noted that S340 may be performed, after the browsing modeis triggered in S310. There is no sequential relationship among S340,S320 and S330. Step S340 may be performed before or after S320, orbefore or after S330.

In the embodiment, the method for switching and sharing the informationaccording to the embodiment of the present disclosure is applied to areal-time interactive application. The real-time interactive applicationincludes at least one of an instant messaging application, a multimediaconference application, a live video application, and a group chatinteractive application.

In the embodiment, the client of the sharer and the client of the shareeare the clients with a real-time interactive application, so that thepage information may be shared during the real-time interaction betweenthe clients, and the shared information pages are switched easilytherebetween. The interactive form of real-time interaction is enriched,and information sharing efficiency and the user sharing experience arealso improved.

Further, the first page and the second page are displayed through abrowser embedded in the client of the sharee. In the present embodiment,a preset browser may be embedded in the client of the sharee, and thepage is displayed through the preset browser. The process of the firstpage jumping to the second page and rolling back to the first page iscarried out through the same browser, without displaying different pageson different browsers. In this way, the page switching process becomessmooth to a certain extent, thereby improving the user sharingexperience.

According to the technical solution of the embodiments of the presentdisclosure, the page jump and rollback may be performed on the client ofthe sharee in the free browsing mode, and the client of the sharee maybe switched from the free browsing mode to the follow mode, so as todisplay the page currently shared by the client of the sharer. It ishelpful for users to browse the page according to their own needs, andit also ensures that the sharee may follow the page shared by thesharer, further improving the information sharing experience of theusers.

Fourth Embodiment

FIG. 4 is a schematic structural diagram of an apparatus for switchingand sharing information according to a fourth embodiment of the presentdisclosure. The apparatus for switching and sharing informationaccording to the present embodiment is applied to the client of thesharer, and is especially suitable for switching and sharing twoinformation pages therebetween for multiple times on a client orswitching and sharing a large number of information pages on the client.

As shown in FIG. 4 , the apparatus for switching and sharing informationincludes a jumping module 410 and a sharing module 420.

The jumping module 410 is configured to jump to a second page inresponse to a detection of a trigger operation on a link to the secondpage in a currently shared first page, where the currently shared firstpage is the page currently displayed, which is sent to a client of asharee to be displayed on the client of the sharee.

The sharing module 420 is configured to share the second page to theclient of the sharee, in a case that the client of the sharee is in afollow mode, to display the second page on the client of the sharee inthe follow mode by following a display of the client of the sharer,where the follow mode is a mode in which the client of the shareefollows the client of the sharer to display a page which is currentlydisplayed on the client of the sharer.

According to the technical solution of the embodiments of the presentdisclosure, the client of the sharer currently displays the first page;and sends the first page to the client of the sharee to display thefirst page on the client of the sharee simultaneously. The client of thesharer is jumped to the second page, in response to the click on thelink to the second page in the first page on the client of the sharer;and sends the second page to the client of the share, in the case thatthe client of the sharee is in the follow mode, to display the secondpage on the client of the sharee in the follow mode by following thedisplay of the client of the sharer. The second page is jumped to andshared through the trigger on the link to the second page in thecurrently shared first page on the client of the sharer, which isconducive to the easy switching between the shared information pages,and improves the information sharing efficiency and the user sharingexperience.

On the basis of the technical solution described above, the apparatusmay also include a rollback module.

The rollback module is configured to roll back to the first page inresponse to a detection of a trigger operation on a rollback control,after sharing the second page to the client of the sharee in the casethat the client of the sharee is in the follow mode.

The sharing module is also configured to share the first page to theclient of the sharee in the follow mode, to display the first page onthe client of the sharee in the follow mode by following the display ofthe client of the sharer.

On the basis of the technical solution described above, the apparatusfor switching and sharing information may be applied to a real-timeinteractive application. The real-time interactive application includesat least one of an instant messaging application, a multimediaconference application, a live video application and a group chatinteractive application. A preset browser is integrated into thereal-time interactive application.

Based on the technical solution described above, the first page and thesecond page are displayed through a browser embedded in the client ofthe sharer.

The method for switching and sharing information applied to the clientof the sharer according to any of the embodiments of the presentdisclosure may be executed with the apparatus for switching and sharinginformation according to the embodiment of the present disclosure.Specifically, the functional modules and beneficial effectscorresponding to the method are executed with the apparatus forswitching and sharing information according to the embodiment of thepresent disclosure.

It should be noted that the units and modules included in the apparatusdescribed above are classified only according to respective functionallogic, which is not limited thereto, as long as the correspondingfunctions can be realized. In addition, the specific names of thefunctional units are only used for distinguishing the functional unitsfrom each other, and are not used to limit the protection scope of theembodiments of the present disclosure.

Fifth Embodiment

FIG. 5 is a schematic structural diagram of an apparatus for switchingand sharing information according to a fifth embodiment of the presentdisclosure. The apparatus for switching and sharing the informationaccording to the present embodiment is applied to the client of thesharee, and is especially suitable for switching and sharing twoinformation pages therebetween for multiple times on a client orswitching and sharing a large number of information pages.

As shown in FIG. 5 , the apparatus for switching and sharing theinformation includes a receiving module 510 and a following module 520.

The receiving module 510 is configured to receive a second page sharedby a client of a sharer in a follow mode, where the follow mode is amode in which the client of the sharee follows the client of the sharerto display a page which is currently displayed on the client of thesharer.

The following module 520 is configured to display the second page inreplacement of a currently displayed first page by following a displayof the client of the sharer, where the second page is shared by theclient of the sharer in response to a detection of a trigger operationon a link to the second page in the currently shared first page, wherethe currently shared first page is a page currently displayed on theclient of the sharer, which is sent to a client of a sharee, to bedisplayed on the client of the sharee.

According to the technical solution of the embodiment of the presentdisclosure, in a case that the client of the sharee in the follow modedisplays the first page by following the display of the client of thesharer, when receiving the second page shared by the client of thesharer, the client of the sharee switches displays the second page inreplacement of the first page by following a display of the client ofthe sharee. In the case that the client of the sharee displays thesecond page by following the display of the client of the sharer, whenthe client of the sharee receives the first page shared by the client ofthe sharer, the first page may be displayed once more. Therefore, in thecase that two pages are switched and shared for multiple times by theclient of the sharer or a large number of pages are switched and sharedby the client of the sharer, the tedious operation of the client of thesharee repeatedly receiving the page shared by the client of the shareris avoided, thereby facilitating the page switching.

On the basis of the technical solution described above, the receivingmodule is also configured to receive the first page shared by the clientof the sharer in the follow mode, after displaying the second page inreplacement of the currently displayed first page by following thedisplay of the client of the sharer.

The follower module is also configured to display the first page inreplacement of a currently displayed second page by following thedisplay of the client of the sharer, where the first page is shared in acase that the client of the sharer detects a trigger operation on arollback control in a process of sharing the second page.

On the basis of the technical solution described above, the apparatusfor switching and sharing information further includes a browsing modetriggering module and a browsing mode jumping module.

The browsing mode triggering module is configured to trigger a freebrowsing mode in response to a detection of a trigger operation on afree browsing control, where the free browsing mode is a mode in which apage is freely browsed by the client of the sharee.

The browsing mode jumping module is configured to jump to the secondpage in the free browsing mode, in a case that a trigger operation on alink to the second page in the first page that is currently freelybrowsed is detected.

On the basis of the technical solution described above, the apparatusfor switching and sharing information further includes a browse moderollback module.

The browse mode rollback module is configured to in the free browsemode, roll back to a page that is previously freely browsed from thepage that is currently freely browsed in response to a detection of atrigger operation on a rollback control, after the second page is jumpedto.

On the basis of the technical solution described above, the apparatusfor switching and sharing information further includes a follow modetrigger module.

The follow mode trigger module is configured to trigger the follow modein response to a detection of the trigger operation on a follow control.

The follower module is also configured to in follow mode, receive a pagecurrently shared by the client of the sharer, after the second page isjumped to.

On the basis of the technical solution described above, the apparatusfor switching and sharing information may be applied to a real-timeinteractive application. The real-time interactive application includesat least one of an instant messaging application, a multimediaconference application, a live video application, and a group chatinteractive application. A preset browser is integrated in the real-timeinteractive application.

On the basis of the technical solution described above, the first pageand the second page are displayed through the browser embedded in theclient of the sharee.

The method for switching and sharing information applied to the clientof the sharee according to any of the embodiments of the presentdisclosure may be executed with the apparatus for switching and sharinginformation according to the embodiment of the present disclosure.Specifically, the functional modules and beneficial effectscorresponding to the method are executed with the apparatus forswitching and sharing information according to the embodiment of thepresent disclosure.

It should be noted that the units and modules included in the apparatusdescribed above are only classified according to respective functionallogic, which is not limited thereto, as long as the correspondingfunctions can be realized. In addition, the specific names of thefunctional units are only used for distinguishing the functional unitsfrom each other, and are not used to limit the protection scope of theembodiments of the present disclosure.

Sixth Embodiment

Reference is made to FIG. 6 , which is a schematic structural diagram ofan electronic device (for example, a terminal device or a server in FIG.6 ) 600 suitable for implementing an embodiment of the presentdisclosure. The terminal device in the embodiments of the presentdisclosure may include, but is not limited to, a mobile terminal such asa mobile phone, a notebook computer, a digital broadcast receiver, aPersonal Digital Assistant (PDA), a Portable Android Device (PAD), aPortable Media Player (PMP), an in-vehicle terminal (for example, anin-vehicle navigation terminal), and a stationary terminal such as adigital TV (television), a desktop computer. The electronic device shownin FIG. 6 is only exemplary, and should not indicate any limitation tothe function and scope of application of the embodiments of the presentdisclosure.

As shown in FIG. 6 , the electronic device 600 may include a processingapparatus (such as a central processor or a graphics processor) 601,which may execute various operations and processing through a programstored in a Read Only Memory (ROM) 602 or a program loaded from astorage apparatus 606 into a Random Access Memory (RAM) 603. The RAM 603is further configured to store various programs and data required by theelectronic device 600 to operate. The processing apparatus 601, the ROM602 and the RAM 603 are connected to each other through a bus 604. AnInput/output (I/O) interface 605 is also connected to the bus 604.

Generally, the I/O interface 605 may be connected to: an input apparatus606, such as a touch screen, a touch panel, a keyboard, a mouse, acamera, a microphone, an accelerometer, and a gyroscope; an outputapparatus 607, such as a liquid crystal display (LCD), a speaker, and avibrator; a storage apparatus 608 such as a magnetic tape and a harddisk; and a communication apparatus 609. The communication apparatus 609enables wireless or wired communication between the electronic device600 and other devices for data exchanging. Although FIG. 6 shows theelectronic device 600 having various components, it should be understoodthat the illustrated components are not necessarily required to all beimplemented or embodied. Alternatively, more or fewer apparatuses may beimplemented or included.

Particularly, according to an embodiment of the present disclosure, theprocess described above in conjunction with flow charts may beimplemented as a computer software program. For example, a computerprogram product is further provided as an embodiment of the presentdisclosure, including a computer program carried on a non-transientcomputer readable medium. The computer program includes program code forperforming the method shown in the flowchart. In the embodiment, thecomputer program may be downloaded and installed from the network viathe communication apparatus 609, or installed from the storage apparatus606, or installed from the ROM 602. When the computer program isexecuted by the processing apparatus 601, the functions defined in themethod described above according to the embodiment of the presentdisclosure are performed.

The electronic device according to the embodiment of the presentdisclosure and the method for switching and sharing informationaccording to the embodiment described above belong to the same conceptof the present disclosure. For the technical details that are notdescribed in detail in the present embodiment, reference is made to theembodiments described above. The present embodiment has the samebeneficial effect as the embodiments described above.

Seventh Embodiment

Embodiments of the present disclosure provide a computer storage mediumstoring a computer program thereon. The program, when executed by aprocessor, performs the method for switching and sharing the informationaccording to the embodiments described above.

It should be noted that, the computer readable medium mentioned hereinabove may be a computer readable signal medium or a computer readablestorage medium or any combination thereof. The computer readable storagemedium may be, but is not limited to, a system, an apparatus, or adevice in an electronic, magnetic, optical, electromagnetic, infrared,or semi-conductive form, or any combination thereof. A more specificexample of the computer-readable storage medium may include, but is notlimited to: an electrical connection having one or more wires, aportable computer magnetic disk, a hard disk, a random access memory(RAM), a read-only memory (ROM), an erasable programmable read-onlymemory (EPROM), a flash memory, an optical fiber, a portable compactdisk read-only memory (CD-ROM), an optical storage device, a magneticstorage device, or any appropriate combination thereof. In theembodiment of the present disclosure, the computer readable storagemedium may be any tangible medium containing or storing a program, andthe program may be used by or in combination with an instructionexecution system, apparatus, or device. In the embodiment of the presentdisclosure, the computer readable signal medium may be a data signaltransmitted in a baseband or transmitted as a part of a carrier wave andcarrying computer readable program codes. The transmitted data signalmay be in various forms, including but not limited to an electromagneticsignal, an optical signal or any proper combination thereof. Thecomputer readable signal medium may be any computer readable mediumother than the computer readable storage medium, and can send, propagateor transmit programs to be used by or in combination with an instructionexecution system, apparatus or device. The program codes stored in thecomputer readable medium may be transmitted via any proper mediumincluding but not limited to: a wire, an optical cable, radio frequency(RF) and the like, or any proper combination thereof.

In some embodiments, a client and a server may communicate with eachother using any currently known network protocol, such as hypertexttransfer protocol (HTTP) or future developed network protocol, and mayinterconnect with each other through digital data communication in anyform or medium (for example, a communication network). Examples of acommunication network include a local area network (LAN), a wide areanetwork (WAN), the internet (for example, the Internet), and anend-to-end network (for example, ad hoc end-to-end network) or anycurrently known or future developed network.

The computer readable medium may be incorporated in the electronicdevice, or may exist alone without being assembled into the electronicdevice.

The computer readable medium carries one or more programs. The one ormore programs, when being executed by the electronic device, cause theelectronic device to: jump to a second page, in response to a detectionof a trigger operation on a link to the second page in a currentlyshared first page, where the currently shared first page is a pagecurrently displayed, which is sent to a client of a sharee to bedisplayed on the client of the sharee; and share the second page to theclient of the sharee, in a case that the client of the sharee is in afollow mode, to display the second page on the client of the sharee inthe follow mode by following a display of the client of the sharer,where the follow mode is a mode in which the client of the shareefollows the client of the sharer to display a page which is currentlydisplayed on the client of the sharer.

Alternatively, The one or more programs, when being executed by theelectronic device, cause the electronic device to: receive a second pageshared by a client of a sharer, in a follow mode, where the follow modeis a mode in which a client of a sharee follows the client of the sharerto display a page which is currently displayed on the client of thesharer; and display the second page in replacement of a currentlydisplayed first page by following a display of the client of the sharer,where the second page is shared by the client of the sharer in responseto a detection of a trigger operation on a link to the second page inthe currently shared first page, and where the currently shared firstpage is a page currently displayed on the client of the sharer, which issent to the client of the sharee to be displayed on the client of thesharee.

The computer program code for performing the operations disclosed in theembodiments of the present disclosure may be written in one or moreprogramming languages or combinations thereof. The programming languagesinclude but not limited to an object-oriented programming language, suchas Java, Smalltalk, and C++, and a conventional procedural programminglanguage, such as C language or a similar programming language. Theprogram code may be executed entirely on a user computer, partially onthe user computer, as a standalone software package, partially on theuser computer and partially on a remote computer, or entirely on theremote computer or a server. In a case involving a remote computer, theremote computer may be connected to a user computer through any kind ofnetwork including local area network (LAN) or wide area network (WAN),or to an external computer through Internet connection by an Internetservice provider, for example.

Flow charts and block diagrams in the drawings illustrate thearchitecture, functions and operations that can be implemented by thesystem, method and computer program product according to the embodimentsof the present disclosure. Each block in a flowchart or a block diagrammay represent a module, a program segment, or a part of code, and themodule, program segment, or part of code contains one or more executableinstructions for implementing the specified logical function. It shouldbe noted that, in some alternative implementations, the functions markedin blocks may be performed in an order different from the order shown inthe drawings. For example, two blocks shown in succession may actuallybe executed in parallel, or sometimes may be executed in a reverseorder, which depends on the functions involved. It should also be notedthat each of the blocks in the block diagram and/or flowchart and acombination of the blocks in the block diagram and/or flowchart may beimplemented by a dedicated hardware-based system that performs specifiedfunctions or actions, or may be implemented by a combination ofdedicated hardware and computer instructions.

The units mentioned in the embodiments of the present disclosure may beimplemented by means of software, or otherwise by means of hardware. Insome circumstances, name of a module does not constitute a limitation onthe module itself. For example, a sharing module may also be describedas a “page sharing module”.

The functions described herein above may be performed, at least in part,by one or more hardware logic components. For example, withoutlimitation, exemplary types of hardware logic components that may beused include: Field Programmable Gate Array (FPGA), Application SpecificIntegrated Circuit (ASIC), Application Specific Standard Product (ASSP),System on Chip (SOC), Complex Programmable Logic Device (CPLD) and soon.

In the context of the present disclosure, a machine-readable medium maybe a tangible medium that may contain or store a program for use by orin connection with an instruction execution system, apparatus, ordevice. The machine-readable medium may be a machine-readable signalmedium or a machine-readable storage medium. Machine-readable medium mayinclude, but is not limited to, a system, an apparatus, or a device inelectronic, magnetic, optical, electromagnetic, infrared, orsemiconductor form, or any proper combination thereof. More specificexamples of machine-readable storage medium include an electricalconnection based on one or more wires, a portable computer disk, a harddisk, a random access memory (RAM), a read only memory (ROM), anerasable programmable read only memory (EPROM or flash memory), anoptical fiber, a portable compact disc read-only memory (CD-ROM), anoptical storage device, a magnetic storage device, or any propercombination thereof.

According to one or more embodiments of the present disclosure, a methodfor switching and sharing information is provided in Example 1. Themethod is applied to a client of a sharer. The method includes:

-   -   jumping to a second page in response to a detection of a trigger        operation on a link to the second page in a currently shared        first page, where the currently shared first page is a page        currently displayed, which is sent to a client of a sharee to be        displayed on the client of the sharee; and    -   sharing the second page with the client of the sharee, in a case        that the client of the sharee is in a follow mode, to display        the second page on the client of the sharee in the follow mode        by following a display of the client of the sharer, where the        follow mode is a mode in which the client of the sharee follows        the client of the sharer to display a page which is currently        displayed on the client of the sharer.

According to one or more embodiments of the present disclosure, themethod for switching and sharing the information is provided in Example2. After sharing the second page to the client of the sharee in a followmode, the method further includes:

-   -   rolling back to the first page in response to a detection of a        trigger operation on a rollback control; and    -   sharing the first page to the client of the sharee, in the case        that the client of the sharee is in the follow mode, to display        the first page on the client of the sharee in the follow mode by        following the display of the client of the sharer.

According to one or more embodiments of the present disclosure, themethod for switching and sharing the information is provided in Example3. The method is applied to a real-time interactive application, and thereal-time interactive application includes at least one of an instantmessaging application, a multimedia conference application, a live videoapplication and a group chat interactive application

According to one or more embodiments of the present disclosure, themethod for switching and sharing the information is provided in Example4. In the method, the first page and the second page are displayedthrough a browser embedded in the client of the sharer.

According to one or more embodiments of the present disclosure, a methodfor switching and sharing information is provided in Example 5. Themethod is applied to a client of a sharee. The method includes:

-   -   receiving a second page shared by a client of a sharer, in a        follow mode, where the follow mode is a mode in which a client        of a sharee follows the client of the sharer to display a page        which is currently displayed on the client of the sharer; and    -   displaying the second page in replacement of a currently        displayed first page by following a display of the client of the        sharer, where the second page is shared in a case that the        client of the sharer detects a trigger operation on a link to        the second page in the currently shared first page, and where        the currently shared first page is a page currently displayed on        the client of the sharer, which is sent to the client of the        sharee to be displayed on the client of the sharee.

According to one or more embodiments of the present disclosure, themethod for switching and sharing the information is provided in Example6. Optionally, after displaying the second page in replacement of acurrently displayed first page by following a display of the client ofthe sharer, the method further includes:

-   -   in the follow mode, receiving the first page shared by the        client of the sharer; and    -   displaying the first page in replacement of the currently        displayed second page by following the display of the client of        the sharer, where the first page is shared in a case that the        client of the sharer detects a trigger operation on a rollback        control when sharing the second page.

According to one or more embodiments of the present disclosure, themethod for switching and sharing the information is provided in Example7. After displaying the second page in replacement of a currentlydisplayed first page by following a display of the client of the sharer,the method further includes:

-   -   in the follow mode, receiving the first page shared by the        client of the sharer; and    -   displaying the first page in replacement of the currently        displayed second page by following the display of the client of        the sharer, where the first page is shared in a case that the        client of the sharer detects a trigger operation on a rollback        control when sharing the second page.

According to one or more embodiments of the present disclosure, themethod for switching and sharing the information is provided in Example8. After jumping to the second page, the method further includes:

-   -   in the free browsing mode, rolling back to a page that is        previously freely browsed from a page that is currently freely        browsed, in response to a detection of a trigger operation on a        rollback control.

According to one or more embodiments of the present disclosure, themethod for switching and sharing the information is provided in Example9. After jumping to the second page, the method further includes:

-   -   triggering a follow mode in response to a detection of a trigger        operation on a follow control; and    -   receiving a page currently shared by the client of the sharer,        in the follow mode.

According to one or more embodiments of the present disclosure, themethod for switching and sharing the information is provided in Example10. The method is applied to a real-time interactive application, andthe real-time interactive application includes at least one of aninstant messaging application, a multimedia conference application, alive video application and a group chat interactive application.

According to one or more embodiments of the present disclosure, themethod for switching and sharing the information is provided in Example11. In the method, the first page and the second page are displayedthrough a browser embedded in the client of the sharee.

The above descriptions are only preferred embodiments of the presentdisclosure and explanations of the technical principles used in thepresent disclosure. Those skilled in the art should understand that thescope of the present disclosure is not limited to the technical solutionformed by combination of the technical features described above, butalso covers other technical solutions formed by any combination of theabove technical features or the equivalent features of the technicalfeatures without departing from the concept of the present disclosure.For example, a technical solution formed by interchanging the abovefeatures and technical features having similar functions as disclosed,but not limited to, in the present disclosure with each other is alsocovered with the scope of the present disclosure.

In addition, although the above operations are described in a specificorder, it should not be understood that these operations are required tobe performed in the specific order or performed in a sequential order.In some conditions, multitasking and parallel processing may beadvantageous. Although multiple implementation details are included inthe above descriptions, the details should not be interpreted aslimitations to the scope of the present disclosure. Some featuresdescribed in an embodiment may be implemented in combination in anotherembodiment. In addition, the features described in an embodiment may beimplemented individually or in any suitable sub-combination form inmultiple embodiments.

Although the subject of the present disclosure has been describedaccording to the structural features and/or logical actions of themethod, it should be understood that the subject defined in the claimsis not necessarily limited to the features or actions described above.The specific features and actions described above are only examples ofthe implementation of the claims.

1. A method for switching and sharing information, wherein the method isapplied to a client of a sharee, and the method comprises: receiving afirst page shared by a client of a sharer, in a free browsing mode,wherein the shared first page comprises a link to a second page, and thefree browsing mode is a mode in which a page is freely browsed by theclient of the sharee; and jumping to the second page in response to adetection of a trigger operation on the link in the shared first page.2. The method according to claim 1, wherein before receiving the firstpage in the free browsing mode, the method comprises: receiving atrigger operation on a free browsing control; and switching the clientof the sharer from a follow mode to the free browsing mode, wherein thefollow mode is a mode in which the client of the sharee follows theclient of the sharer to display a page which is currently displayed onthe client of the sharer.
 3. The method according to claim 1, whereinafter jumping to the second page, the method comprises: in the freebrowsing mode, rolling back to a page that is previously freely browsedfrom a page that is currently freely browsed, in response to a detectionof a trigger operation on a rollback control.
 4. The method according toclaim 2, wherein after switching the client of the sharer from thefollow mode to the free browsing mode, the method comprises: triggeringthe follow mode, in response to a detection of a trigger operation on afollow control; and displaying a page currently shared by the client ofthe sharer, in the follow mode.
 5. The method according to claim 1,wherein the method is applied to a real-time interactive application,and the real-time interactive application comprises at least one of aninstant messaging application, a multimedia conference application, alive video application and a group chat interactive application.
 6. Themethod according to claim 5, wherein the first page and the second pageare displayed through a browser embedded in the client of the sharee. 7.An apparatus for switching and sharing information, wherein theapparatus is applied to a client of a sharee, and comprises: one or moreprocessors; a storage apparatus, for storing one or more programs,wherein the one or more programs, when executed by the one or moreprocessors, cause the one or more processors to: receive a first pageshared by a client of a sharer, in a free browsing mode, wherein theshared first page comprises a link to a second page, and the freebrowsing mode is a mode in which a page is freely browsed by the clientof the sharee; and jump to the second page in response to a detection ofa trigger operation on the link in the shared first page.
 8. Theapparatus according to claim 7, wherein before the first page isreceived in the free browsing mode, the one or more programs, whenexecuted by the one or more processors, cause the one or more processorsto: receive a trigger operation on a free browsing control; and switchthe client of the sharer from a follow mode to the free browsing mode,wherein the follow mode is a mode in which the client of the shareefollows the client of the sharer to display a page which is currentlydisplayed on the client of the sharer.
 9. The apparatus according toclaim 7, wherein the one or more programs, when executed by the one ormore processors, cause the one or more processors to: in the freebrowsing mode, roll back to a page that is previously freely browsedfrom a page that is currently freely browsed, in response to a detectionof a trigger operation on a rollback control, after the second page isjumped to.
 10. The apparatus according to claim 8, wherein after theclient of the sharer is switched from the follow mode to the freebrowsing mode, the one or more programs, when executed by the one ormore processors, cause the one or more processors to: trigger the followmode, in response to a detection of a trigger operation on a followcontrol; and display a page currently shared by the client of thesharer, in the follow mode.
 11. The apparatus according to claim 7,wherein a real-time interactive application is installed on theapparatus, and the real-time interactive application comprises at leastone of an instant messaging application, a multimedia conferenceapplication, a live video application and a group chat interactiveapplication.
 12. The apparatus according to claim 11, wherein the firstpage and the second page are displayed through a browser embedded in theclient of the sharee.
 13. A non-transitory computer storage medium,wherein the computer storage medium comprises program instructions; andthe program instructions, when running on an electronic device, causethe electronic device to: receive a first page shared by a client of asharer, in a free browsing mode, wherein the shared first page comprisesa link to a second page, and the free browsing mode is a mode in which apage is freely browsed by the client of the sharee; and jump to thesecond page in response to a detection of a trigger operation on thelink in the shared first page.
 14. The non-transitory computer storagemedium according to claim 13, wherein before the first page is receivedin the free browsing mode, the program instructions, when running on anelectronic device, cause the electronic device to: receive a triggeroperation on a free browsing control; and switch the client of thesharer from a follow mode to the free browsing mode, wherein the followmode is a mode in which the client of the sharee follows the client ofthe sharer to display a page which is currently displayed on the clientof the sharer.
 15. The non-transitory computer storage medium accordingto claim 13, wherein the program instructions, when running on anelectronic device, cause the electronic device to: in the free browsingmode, roll back to a page that is previously freely browsed from a pagethat is currently freely browsed, in response to a detection of atrigger operation on a rollback control, after the second page is jumpedto.
 16. The non-transitory computer storage medium according to claim14, wherein after the client of the sharer is switched from the followmode to the free browsing mode, the program instructions, when runningon an electronic device, cause the electronic device to: trigger thefollow mode, in response to a detection of a trigger operation on afollow control; and display a page currently shared by the client of thesharer, in the follow mode.
 17. The non-transitory computer storagemedium according to claim 13, wherein a real-time interactiveapplication is installed on the electronic device, and the real-timeinteractive application comprises at least one of an instant messagingapplication, a multimedia conference application, a live videoapplication and a group chat interactive application.
 18. Thenon-transitory computer storage medium according to claim 17, whereinthe first page and the second page are displayed through a browserembedded in the client of the sharee.